go/parser.parser.mode (field)
9 uses
go/parser (current package)
parser.go#L43: mode Mode // parsing mode
parser.go#L83: p.mode = mode
parser.go#L167: if p.mode&ParseComments == 0 {
parser.go#L289: if p.mode&AllErrors == 0 {
parser.go#L2882: if ident.Name == "_" && p.mode&DeclarationErrors != 0 {
parser.go#L2894: if p.mode&PackageClauseOnly == 0 {
parser.go#L2900: if p.mode&ImportsOnly == 0 {
parser.go#L2926: if p.mode&DeclarationErrors != 0 {
parser.go#L2929: if p.mode&SkipObjectResolution == 0 {
The pages are generated with Golds v0.8.4. (GOOS=linux GOARCH=amd64)